<!--
 * @Description: moment
 * @Author: rendc
 * @Date: 2022-10-10 10:15:55
 * @LastEditors: rendc
 * @LastEditTime: 2022-10-10 11:03:58
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>moment</title>
  <script src="https://cdn.staticfile.org/moment.js/2.29.4/moment.js"></script>
  <script>
    // console.log("moment");
    console.log(moment().format("YYYY-MM-DD"));
    console.log(moment().format("YYYY年MM月DD日"));
    console.log(moment().format("YYYY年MM月DD日 HH:mm:ss"));
    console.log(moment().format("YYYY年MM月DD日 HH-mm-ss"));
    console.log(moment().format('lll'));
  </script>
</head>

<body>

</body>

</html>